package com.zzyl.service;

import com.zzyl.base.ResponseResult;
import com.zzyl.dto.ResourceDto;
import com.zzyl.vo.ResourceVo;
import com.zzyl.vo.TreeVo;

import java.util.List;

/**
 * @Description ResuorceService
 * @Author apeng
 * @Date 2024-10-23
 */
public interface ResourceService {
    List<ResourceVo> findResourceList(ResourceDto resourceDto);

    TreeVo resourceTreeVo(ResourceDto resourceDto);

    ResponseResult createResource(ResourceDto resourceDto);

    ResponseResult<Boolean> updateResource(ResourceDto resourceDto);

    ResponseResult<Boolean> startOrStop(ResourceDto resourceDto);

    void updateByResourcNo(String resourceNo);
}
